package com.yun.zf.common.admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 文案信息表
 * </p>
 *
 * @author cj
 * @since 2021-06-16
 */
@TableName("sys_documents")
@Data
public class SysDocuments implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "图片链接")
    private String content;

    @ApiModelProperty(value = "序号")
    private Integer sortNum;


    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime;

    /**
     * 状态0有效，1失效
     */
    @ApiModelProperty(value = "状态0有效，1失效")
    private Integer status;

    @ApiModelProperty(value = "文案位置")
    private String posIndex;

    /**
     * 平台ID，默认为1000本平台
     */
    @ApiModelProperty(value = "平台ID，默认为1000本平台")
    private Integer platformId;

    /**
     * 频道ID 区分不同页面
     */
    @ApiModelProperty(value = "频道ID 区分不同页面")
    private String themeId;


}
